Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes doubling of gadget points for second+ synth #3936

Merged
merged 5 commits into from
Jul 24, 2023
Merged

Fixes doubling of gadget points for second+ synth #3936

merged 5 commits into from
Jul 24, 2023

Conversation

Katskan
Copy link
Contributor

@Katskan Katskan commented Jul 19, 2023

About the pull request

Fixes a bug where if any synthetic that joins will get 45 extra gadget points more than the previous, so 2nd synthetic gets 90 points, 3rd would have 135, and so on. Tested in a private server and working properly.

Explain why it's good for the game

Makes it so late join synthetics or additional joins from events don't get massive gadget budget to spend on like 3 compact defibrillators or start taking things to hand out to marines.

Testing Photographs and Procedure

Went into private server running the branch, spawned 3 shipside USCM synthetics. Sequentially vended the coin, then took 3 gadgets, then did the same with the next. Pre-patch this would result in the 2nd and 3rd synthetics getting huge point budgets, with this patch correctly only gave 45 points to each synthetic.

Changelog

🆑
fix: Fixed synthetics getting an extra 45 points more than any previous who had used the gadget vendor
/:cl:

@github-actions
Copy link
Contributor

You currently have a negative Fix/Feature pull request delta of -15. Maintainers may close this PR at will. Fixing issues or improving the codebase will improve this score.

@github-actions github-actions bot added the Fix Fix one bug, make ten more label Jul 19, 2023
@TeDGamer
Copy link
Contributor

available_points = available_points = 45

Shouldn't it be condensed to available_points = 45

@harryob harryob added this pull request to the merge queue Jul 24, 2023
Merged via the queue into cmss13-devs:master with commit 743897e Jul 24, 2023
github-actions bot added a commit that referenced this pull request Jul 24, 2023
cm13-github added a commit that referenced this pull request Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants